<?php defined('APPPATH') or exit('Access Denied');?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<body>
<h3><?php echo $username;?></h3>
<p><?php echo date('Y-m-d H:i:s');?></p>
<ul>
<?php if(is_array($data)) { foreach($data as $k => $v) { ?>
<li><?php echo $k;?>: 标题：<?php echo $v['title'];?> 内容：<?php echo $v['content'];?></li>
<?php } } ?>
</ul>
<?php if($tag) { ?>
tag为真
<?php } else { ?>
tag为假
<?php } ?>
</body>
</html>